package com.autumn.aitraffic.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 路口拥堵时段记录表
 * </p>
 *
 * @author wzx
 * @since 2025-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("congestion")
@ApiModel(value="Congestion对象", description="路口拥堵时段记录表")
public class Congestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拥堵记录ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "关联路口编号")
    private Integer intersection;

    @ApiModelProperty(value = "拥堵开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "拥堵结束时间")
    private LocalDateTime endTime;


}
